﻿#ifndef ALLREADER_H
#define ALLREADER_H
#include <QStandardItemModel>
#include <QWidget>
#include "readersql.h"
#include <QSqlTableModel>
#include"global.h"
//this is a git push test
namespace Ui {
class Allreader;
}

class Allreader : public QWidget
{
    Q_OBJECT

public:
    explicit Allreader(QWidget *parent = nullptr);
    ~Allreader();
    void set_table_model(QStandardItemModel *model);
    bool is_editing;
    void public_edit_clicked();
    Ui::Allreader *ui;
    QSqlTableModel *model;
private slots:
    void on_Edit_clicked();

    void on_Submit_clicked();

    void on_Recall_clicked();

    void on_Add_clicked();

    void on_Delete_clicked();



private:

};

#endif // ALLREADER_H
